<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="p" uri="/WEB-INF/tld/pagination.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8">
		<title>核算项目--职员</title>

		<link rel="stylesheet" type="text/css"
			href="<%=request.getContextPath()%>/css/public.css">
		<script language="JavaScript" charset="UTF-8"
			src="<%=request.getContextPath()%>/js/public.js"></script>
		<script type="text/javascript" charset="UTF-8"
			src="<%=request.getContextPath()%>/js/date1.js"></script>
		<script type="text/javascript" charset="UTF-8"
			src="<%=request.getContextPath()%>/js/sorttable.js"></script>
		<script type="text/javascript" charset="UTF-8"
			src="<%=request.getContextPath()%>/js/checkboxSelect.js"></script>

	</head>
	<body>
		<div id="info_all">
			<div id="info_top">
				核算项目--职员
			</div>
			<!-- 主输入区 -->
			<!-- 功能按钮 -->

			<s:form action="selectMultiCandiate.action" theme="simple"
				id="delrow" cssStyle="margin-top:0px;">

				<div id="info_main">
					<!-- 查询-->

					<div id="select">
						<hr>
						<table>
							<tr>
								<td>
									职员代码&nbsp;
								</td>
								<td>
									<s:textfield name="candiate.candiateCode" size="12"></s:textfield>
									&nbsp;&nbsp;&nbsp;
								</td>
								<td>
									职员名称&nbsp;
								</td>
								<td>
									<s:textfield name="candiate.candiateName" size="12"></s:textfield>
									&nbsp;&nbsp;&nbsp;
								</td>
								<td>
									职务&nbsp;
								</td>
								<td>
									<s:hidden name="candiate.PBaseAssistantmaterialDutyId"
										id="dutyId"></s:hidden>
									<s:textfield name="dutyName" size="12" id="dutyName"></s:textfield>
									<img src="<%= request.getContextPath() %>/images/kookup.gif" style="cursor: pointer"
										onclick="openWin('selectDuty.action','duty',340,500,0)">
									&nbsp;&nbsp;&nbsp;
								</td>

								<td>
									所在部门&nbsp;
								</td>
								<td>
									<s:hidden name="candiate.PBaseVerifyprojectDepartmentId"
										id="departmentId"></s:hidden>
									<s:textfield name="departmentName" size="12"
										id="departmentName" readonly="true"></s:textfield>
									<img src="<%= request.getContextPath() %>/images/kookup.gif" style="cursor: pointer"
										onclick="openWin('selectDepartment.action','department',750,700,0)">
									&nbsp;&nbsp;&nbsp;
								</td>

							</tr>
						</table>

					</div>
					<div class="sele">
						<input type="submit" value="查询" onFocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" class="btnsize" />

						<input type="reset" value="重置" onFocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" class="btnsize" />
						<hr>
					</div>
					<!-- 信息显示-->
					<div id="info_info2">
						<table id="info_table" width="1600px" cellspacing=1px
							cellpadding=1px class="sortable">
							<thead>
								<tr>
									<th width="80px">
										代码
									</th>
									<th width="100px">
										名称
									</th>
									<th width="80px">
										职员类别
									</th>
									<th width="80px">
										部门名称
									</th>
									<th width="60px">
										性别
									</th>
									<th width="90px">
										出生日期
									</th>
									<th width="80px">
										文化程度
									</th>
									<th width="80px">
										电话
									</th>
									<th width="90px">
										身份证号
									</th>
									<th width="70px">
										职务
									</th>
									<th width="80px">
										入职日期
									</th>
									<th width="80px">
										离职日期
									</th>
									<th width="120px">
										开户银行及账号
									</th>
									<th width="110px">
										住址
									</th>
									<th width="95px">
										电子邮件
									</th>
									<th width="80px">
										备注
									</th>
									<th width="65px">
										补贴
									</th>
								</tr>
							</thead>
							<tbody>
								<s:if test="!cans.isEmpty()">
									<s:iterator value="cans">
										<tr
											ondblclick="multiChildToParent('candiateId','<s:property value="candiate.candiateId"/>','candiateName','<s:property value="candiate.candiateName"/>')">
											<td>
												<s:property value="candiate.candiateCode" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.candiateName" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiateCategory.candiateCategoryName" />
												&nbsp;
											</td>
											<td>
												<s:property value="department.departmentName" />
												&nbsp;
											</td>
											<td>
												<s:if test="candiate.gender == 0">
													<s:property value="男" />
												&nbsp;
										</s:if>
												<s:elseif test="candiate.gender == 1">
													<s:property value="女" />
												&nbsp;
										</s:elseif>
											</td>
											<td>
												<s:property value="candiate.bithDate" />
												&nbsp;
											</td>
											<td>
												<s:property value="culture.cultureName" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.mobile" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.idcardNo" />
												&nbsp;
											</td>
											<td>
												<s:property value="duty.dutyName" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.enterDate" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.leaveDate" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.openAccountBank" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.address" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.email" />
												&nbsp;
											</td>
											<td>
												<s:property value="candiate.memo" />
												&nbsp;
											</td>
											<td>
												<s:property value="allowance.candiateName" />
												&nbsp;
											</td>

										</tr>
									</s:iterator>
								</s:if>
							</tbody>
							<tfoot>

							</tfoot>
						</table>
						<s:if test="!cans.isEmpty">
							<tr style="font-size: 12px;">

								<div align="center">
									<font color="#FF0000"> 共<s:property value="page.total" />
										页 第 <s:property value="page.cpage" /> 页 <p:page
											cpage="%{page.cpage}" total="%{page.total}" url="%{page.url}" />
									</font>

								</div>
							</tr>
						</s:if>
						<script language="javascript">  
						//("表格名称","奇数行背,"偶数行背,"点击后背);
						 mouseclick("info_table","#ffffff","#ffffff","#e6f0fd");
						 //("表格名称","奇数行背,"偶数行背);
						 //setcolor("t","#ffffff","#ffffff");
					</script>

					</div>
				</div>
			</s:form>
	</body>
</html>


